package com.gulimall.auth.feignservice;

import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.TypeReference;
import com.guli.common.utils.HttpUtils;
import com.guli.common.utils.MemberVo;
import com.guli.common.utils.R;
import com.guli.common.vo.WeiboAccessVo;
import com.gulimall.auth.controller.CheckObjectNull;
import org.apache.http.HttpResponse;
import org.apache.http.util.EntityUtils;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.servlet.http.HttpSession;
import java.util.HashMap;

@FeignClient("member")
@RequestMapping("member/member")
public interface FeignMemberService {

    //微博登录成功接口
    @PostMapping("weibo/success/login")
    public R weiboLogin(@RequestBody WeiboAccessVo vo) throws Exception;



}
